package com.cqie.rbac.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cqie.rbac.bo.PageRoleBo;
import com.cqie.rbac.bo.RoleStatusBo;
import com.cqie.rbac.bo.RoleUpOrAddBo;
import com.cqie.rbac.entity.SysRole;
import com.cqie.rbac.util.Result;

import java.util.List;

/**
 * <p>
 * 角色实体 服务类
 * </p>
 *
 * @author 夏兵
 * @since 2021-09-02
 */
public interface ISysRoleService extends IService<SysRole> {

    Result getRole();

    Result pageOfRole(PageRoleBo pageRoleBo, Integer current, Integer size);

    Result changeRoleStatus(RoleStatusBo roleStatusBo);

    Result multiChangeRoleStatus(List<RoleStatusBo> roleStatusBos);

    Result multiDelRole(Long[] idArray);

    Result roleUpOrAdd(RoleUpOrAddBo roleUpOrAddBo);
}
